﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data.Common;

namespace System.Data.SharePoint
{
    public sealed class SharePointFactory : DbProviderFactory
    {
        public override DbCommand CreateCommand()
        {
            return new SharePointCommand();
        }

        public override DbCommandBuilder CreateCommandBuilder()
        {
            return new SharePointCommandBuilder();
        }

        public override DbConnection CreateConnection()
        {
            return new SharePointConnection();
        }

        public override DbDataAdapter CreateDataAdapter()
        {
            return new SharePointDataAdapter();
        }

        public override DbParameter CreateParameter()
        {
            return new SharePointParameter();
        }
    }
}
